Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile error when building for android in raw_display_handle implementation #1364

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

nathanvoglsam
Copy link
Contributor

Hi!

Quick PR for a small bug I hit with the android code for 'raw_display_handle'. a_native_window got moved onto AndroidWindowHandle with the newer version of raw-window-handle and was removed from AndroidDisplayHandle. I think a simple copy-paste error left the old code assigning to the now missing field and there's no regular android builds so it got missed.

Fix is trivial, remove the assignment. I also removed 'mut' declarations from other handles that weren't assigned to.

@Cobrand
Copy link
Member

Cobrand commented Jan 18, 2024

Thanks!

@Cobrand Cobrand merged commit b654517 into Rust-SDL2:master Jan 18, 2024
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants